package com.kehutong.api.util;

import org.coraframework.util.Ioc;

/**
 * TODO
 *
 * @author zhouweipeng
 * @version 1.0
 * @date 2021/7/24 16:43
 */
public class ContextUtils {
    /**
     * 根据Bean的类型获取对应的Bean
     * @param Class  类型
     * @return
     */
    public static <T> T getBean(Class<T> Class) {
        return Ioc.getInstance(Class);
    }
}
